﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JiaoKuanShuDR.aspx.cs" Inherits="Web.Pages.YongShui._5.ShouFeiGL.JiaoKuanShuDR" %>

<%@ Register assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script type="text/javascript">

        ///导入数据
        function Uploader_OnFileUploadComplete(args) {
            var mg = "共导入" + args.callbackData + "条";
            //if (args.isValid) {
            alert(mg);
            //}
        }
    </script>

    <style type="text/css">
table{
margin-top:2px;
margin-bottom:2px;
margin-right:2px;
}

.dxTBHidden {
    border: 0px !important;
    padding: 0px !important;
    width: 0px !important;
}
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
         
                                                <dx:ASPxUploadControl ID="UpLoadFile" runat="server" ClientInstanceName="uploader"
                                                    ShowTextBox="false" Theme="Aqua" UploadMode="Standard" ShowClearFileSelectionButton="False"
                                                    ShowProgressPanel="false" NullText="" OnFileUploadComplete="UpLoadFile_FileUploadComplete"
                                                    Width="0px">
                                                    <BrowseButton Text="导入Excel"></BrowseButton>
                                                    <ClientSideEvents FileUploadComplete="function(s, e) { Uploader_OnFileUploadComplete(e); }"
                                                        TextChanged="function(s, e) { uploader.Upload();}"></ClientSideEvents>
                                                    <ValidationSettings MaxFileSize="4194304" AllowedFileExtensions=".xls,.xlsx">
                                                    </ValidationSettings>
                                                </dx:ASPxUploadControl>   
    </div>
        <div>
         
           
        </div>
    </form>
</body>
</html>
